Skip to content

feat: DM-4756 add unstructured discovery to the client - #79

Merged
tmtsmrsl merged 35 commits into
mainfrom
DM-4756-unstructured-discovery-client
Nov 18, 2026
Merged

tmtsmrsl merged 35 commits into
mainfrom
DM-4756-unstructured-discovery-client

Conversation

@tmtsmrsl

Copy link
Copy Markdown
Contributor

Adds unstructured discovery to the client: get_unstructured_discovery_folder_page, get_unstructured_discovery_file_page, get_unstructured_discovery_summary, get_unstructured_discovery_report (a CSV, or a ZIP of CSV parts for a large run) and get_last_unstructured_discovery_run_id, which reads the run list. RunInfo gains discovery_kind and the AI Engine fields.

Companion to datamasque/datamasque!4157. It needs a DataMasque version with unstructured discovery, so release it after that version.

Tests: unit tests for each call, the CSV and ZIP report, the run-list lookup and the new RunInfo fields. uv run pytest (612 passed) and make lint (ruff, format, mypy) pass. The live tests for these calls passed against a stack running the companion DataMasque branch (44 passed) before this branch was rebased onto main; they run again with the companion live-test change.

@tmtsmrsl tmtsmrsl self-assigned this Nov 10, 2026
@tmtsmrsl
tmtsmrsl marked this pull request as ready for review November 11, 2026 02:26
@tmtsmrsl
tmtsmrsl requested a review from alxboyle November 11, 2026 04:14
Timotius added 22 commits November 12, 2026 23:20
@tmtsmrsl
tmtsmrsl force-pushed the DM-4756-unstructured-discovery-client branch from 8f8e55c to ef849a4 Compare November 13, 2026 02:24

@kw-datamasque kw-datamasque left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(claude)

Priority: ⭐ (low)

Naming:

Where Now Could be
get_unstructured_discovery_directory_page, iter_unstructured_discovery_directories descending is_descending
tests/test_unstructured_discovery.py:412 ..._summary_reads_all_and_an_engine_without_a_version ..._summary_reads_no_file_limits_and_an_engine_without_a_version

Comment thread HISTORY.rst Resolved
Comment thread tests/test_runs.py Resolved
Comment thread HISTORY.rst Resolved
@tmtsmrsl

Copy link
Copy Markdown
Contributor Author

Both naming points from the review are done: descending is now is_descending on both directory methods (095338a), and the test is now named ..._summary_reads_no_file_limits_and_an_engine_without_a_version (f622346).

@tmtsmrsl
tmtsmrsl merged commit 10e1872 into main Nov 18, 2026
9 checks passed
@tmtsmrsl
tmtsmrsl deleted the DM-4756-unstructured-discovery-client branch November 18, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants